package com.max.xihu.lambda;

/**
 * @Author: Max
 * @Date: 2020-03-31 23:23
 * @Description:
 */
public class OutClassDemo {


    public static void printSomething(){
        System.out.println("out class method!!!");
    }


    static class InnerClass implements Runnable{

        @Override
        public void run() {
            printSomething();
        }
    }

    public static void main(String[] args) {
        new Thread(new InnerClass()).start();
    }
}
